package com.adapter.objectadapter;

/**
 * @author zhupanlin
 * @version 1.0
 * @description: TODO
 * @date 2024/4/15 8:37
 */
// 被适配的类
public class Voltage220V {
    
    // 输出220V的电压
    public int output220V(){
        int src = 220;
        System.out.println("电压 = " + src + "伏");
        return src;
    }
    
}
